
@dark: #373737;// #f0f0f0;
@light: #aaa;
@background-color: #eee;
@foreground-color: #888;
@aside-background-color: lighten(@background-color, 2%);
@table-row-alternate-color: darken(@background-color, 2%);// #313131;
@sp-tabbar-background-color: darken(@background-color, 5%);//#636363
@sp-tabbar-foreground-color: @foreground-color;//#636363
@sp-tabbar-active-background-color: @background-color;//#636363
@sp-tabbar-active-foreground-color: @foreground-color;//#636363
header, footer, aside, main {

    box-sizing: border-box;

}
.container {
margin: 1pt 15%;
}
h1 {
    font-size: 10pt;
}
#mainView {
    display: none;
    flex-direction: column;
}
.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    background-size: cover;
    background-color: white;
    background-image: url('http://appfinder.aleros.webfactional.com/images/app.png');
    box-shadow:inset 0px 64px 3px rgba(255, 255, 255, .25);
}
html {
    display: flex;
}
#viewstack {
    width: 100%;
}
.menu tr.active {

}
.darken {
    background-color: rgba(0, 0, 0, .25);
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 100;

}
.lightbox {
    width: 75%;
    height: 25%;
    box-shadow: 0px 2px 12pt rgba(0, 0, 0, .5);
    position: fixed;
    left: 50%;
    border-radius: 12pt;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 101;
    background-color: white;
    box-sizing: border-box;
    padding: 10pt;
}
.btn {
    padding: 3pt;
    box-sizing: border-box;
    background-color: #eee;
    color: black;
    border: 1px solid #111;
    border-radius: 1pt;
    border-radius: 50pt;
    
    border: 1px solid #353535;
    background: #dfdfdf; /* Old browsers */
background: -moz-linear-gradient(top,  #dfdfdf 0%, #b6b6b6 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dfdfdf), color-stop(100%,#b6b6b6)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #dfdfdf 0%,#b6b6b6 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #dfdfdf 0%,#b6b6b6 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #dfdfdf 0%,#b6b6b6 100%); /* IE10+ */
background: linear-gradient(to bottom,  #dfdfdf 0%,#b6b6b6 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfdf', endColorstr='#b6b6b6',GradientType=0 ); /* IE6-9 */
    box-shadow:inset 0px 0px 3px #b8b8b8, inset 0px 1px 1px #e0e0e0;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, .25);
}
.btn:focus {
    outline: none;
}

.btn:active {
    background: #bababa; /* Old browsers */
    background: -moz-linear-gradient(top,  #bababa 0%, #7c7c7c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bababa), color-stop(100%,#7c7c7c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #bababa 0%,#7c7c7c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #bababa 0%,#7c7c7c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #bababa 0%,#7c7c7c 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #bababa 0%,#7c7c7c 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bababa', endColorstr='#7c7c7c',GradientType=0 ); /* IE6-9 */

}
.btn-black {
    border: none;
    background-color: #111;
    color: white;
    padding: 5px;
}
body {
    background-color: @background-color;
    -webkit-user-select: none;
    font-family: "Tahoma";
    font-size: 11px;
    color: @foreground-color;
    display: flex;
    min-height: 100%;
    flex-direction: column;
}
.sp-toolbar {
    background-color: #222;
    width: 100%;
    height: 18pt;
}
.sp-container {
    margin-top: 23px;
    width: 100%;
}
hr {
    border: none;
    border-top: 1px solid #222;
}
.playlist {
    min-height: 100%;
    min-width: 100%;
    background-position: 0px 18px;
    background-image: url('../images/playlist_bg.png');
}
.sp-table {
    word-wrap: break-word; table-layout: fixed;
    border-collapse: collapse;
}
.table {
    border-collapse: collapse;
}
.sp-table tr:nth-child(odd) {
    background-color: @table-row-alternate-color;
}
.sp-table td, .sp-table th {
    box-sizing: border-box;
    padding: 1.5px 10pt;
    height: 16px;
}
.sp-table th {
    height: 19px;
    background-image: url('../images/columnheader_normal.png');
    color: black;
}
.sp-now-playing td {
    background-color: black;
    color: #aaffaa;
}

.sp-table thead {

}
.sp-table tr:focus {
    outline: none;
}

#throbber {
    background-color: black;
    position: fixed;
    
    width:100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: #2a2a2a;
    display: none;
    z-index: 200;
}

#throbber img {
    left: 50%;
    top: 50%;
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
}

.sp-table tr {
    height: 18px;
}
.sp-table td {
    color: @foreground-color;
}
.sp-table thead {
    background-color: #565656;
}
.sp-track:focus {
    background-color: #77a800;
}
a {
    color: @foreground-color;
    text-decoration: none;
}
a:hover {
    color: white;
    text-decoration: underline;
}
.playlist-header {
    width: 100%;
    height: 50pt;
    box-sizing: border-box;
    padding-left: 10pt;
    color: #888;
}
#artist_image {
    width: 132px;
    height: 132px;
    background-image: url('../img/artist_image.png');
}
.playlist-header h1 {
    color: #f0f0f0;
}

#nowplaying {
    background-color: #444;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: calc(179px + 51px);
}
#nowplaying_header {
    height: 51px;
    background-color: #888;
    background-image: url('../images/nowplaying_header.png');
    text-align: center;
    color: black;
    font-size: 11px;
}
#menu {
    flex: 1;
    -webkit-flex: 1;
}
header {
    background-color: #666;

    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    height: 55px;
    background-image: url('../images/header.png');
    padding: 15pt;
}
aside {
    border-right: 1px solid #111;
    
    display: flex;
    flex-direction: column;
    width: 200pt;
    background-color: @aside-background-color;
}
main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    
    flex: 1;
    background-color: @background-color;
    color: white;

    color: white;
    width: 100%;
    height: 100%;
}
.divider {
    background-color: darken(@background-color, 15%);
    color: @foreground-color;
    height: 22px;
    font-size: 10px;
    box-sizing: border-box;
}
footer, header {

    display: flex;
    flex-direction: row;
}
footer {
    background-color: #444;
    width: 100%;
    background-image: url('../img/footer.png');
      height: 42px;
}
.highlight {
    border-radius: 5pt;
    padding: 20pt;
    background-color: #565656;
    color: white;
}
.fade {
    color: rgba(255, 255, 255, .25);
    pointer-events: none;
}
footer div {
    padding: 10pt;
}
.menu tr:active {
    background-color: #666;
}
.menu tr {
    list-style: none;
    padding: 2pt;
    list-style-position: 0;
}

img.shadow {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
}

.menu tr td {
    padding: 3pt;
    padding-left: 5px;
    color: @foreground-color;
/*  text-shadow: 0px 1px 0px rgba(0, 0, 0, .5);*/
}
.menu tr a {
    color: @foreground-color;
    text-decoration: none;
    cursor: default;
    width: 100%;
}
html, body {
    padding: 0;
    margin: 0;
}
.collection {

    display: block;
    clear: both;
    width: 100%;
}
.collection div {
    float: left;
    list-style:none;
    margin: 5pt;
    min-width: 120pt;
}
.toplist-header {
    background-color: #111;
    padding: 15pt;
    font-size:11pt;
}
h2.divider {
    padding: 2pt;
    display: block;
}
h1, h2, h3, h4 {
    padding: 0;
    margin: 0;
}
.menu tr td .fa {
    color: @foreground-color;
    font-size: 10pt;
}
a[data-uri] {
    cursor: pointer;
}
.menu td.active {
    background-color: #b6e1fd;
    color: #333377;
    text-shadow: none;
}
.menu td.active .fa {
    color: #000033;
}
.menu td.active a {
    color: #000033;
}

.sp-track-selected td {
    background-color: #b6e1fd;
    color: #000033;
}
.sp-track-selected td, .sp-track-selected a {

    color: #000033;
}


meter {
    -webkit-appearance: none;
    background-image: url('../images/popularity_nofill.png');
    background-color: transparent;
    height: 7px;
    width: 30px;

}
 meter::-webkit-meter-bar {
    -webkit-appearance: none;
    background: none;
    background-color: transparent;
    background-image: url('../images/popularity_nofill.png');
}
 meter::-webkit-meter-optimum-value {
    -webkit-appearance: none;
    background: none;
    background-image: url('../images/popularity_fill.png');
}
.sp-track-selected meter {
    -webkit-appearance: none;
    background-image: url('../images/popularity_nofill.png');
    background-color: transparent;
    height: 7px;
    -webkit-filter: invert;
    width: 30px;

}
.sp-track-selected  meter::-webkit-meter-bar {
    -webkit-appearance: none;
    background: none;
    background-color: transparent;
    background-image: url('../images/popularity_nofill.png');
    -webkit-filter: invert;
}
.sp-track-selected meter::-webkit-meter-optimum-value {
    -webkit-appearance: none;
    background: none;
    -webkit-filter: invert;
    background-image: url('../images/popularity_fill.png');
}


.btn-group .btn {
    border-radius: none;
}

.btn-group .btn:first-child {
    border-radius: 5pt 0pt 0pt 5pt;
}

.btn-group .btn:last-child {
    border-radius: 0pt 5pt 5pt 0pt;
}



.sp-tabbar {
    background-color: @sp-tabbar-background-color;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    height: 23px;
    top: 0px;
    position: fixed;
    width: 100%;
}
.sp-tabbar-tab {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    width: 100px;
    height: 23px;
    float: left;
    list-style: none;
    text-align: center;
    padding: 3pt;
    box-sizing: border-box;
}

.sp-tabbar-tab-active {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    height: 24px;
    float: left;
    list-style: none;
    color: @foreground-color;
    background-color: @background-color;
}

.sp-dragover {
    background-color: white;
    color: black;
    border-radius: 12pt;
}
input:focus {
    outline: none;
}
input {
    border-radius: 12pt;
    border: 1px solid #eee;
    padding: 3pt;
}